package com.spic.business.riskbase.hierarchy.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;

/**
 * work_step对象 risk_work_step
 * 
 * @author ruoyi
 * @date 2023-04-14
 */
public class RiskWorkStep
{
    private static final long serialVersionUID = 1L;

    /** 作业步骤id */
    private Long id;

    private Long parentDeptId;
    /** 工作任务id */
    @Excel(name = "工作任务id")
    private Long workTaskId;

    private String workTaskName;

    /** 作业步骤名称 */
    @Excel(name = "作业步骤名称")
    private String workStepName;

    private Integer orderBy;

    /** $table.subTable.functionName信息 */
    private List<RiskDangerSource> riskDangerSourceList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWorkTaskId(Long workTaskId) 
    {
        this.workTaskId = workTaskId;
    }

    public Long getWorkTaskId() 
    {
        return workTaskId;
    }
    public void setWorkStepName(String workStepName) 
    {
        this.workStepName = workStepName;
    }

    public String getWorkStepName() 
    {
        return workStepName;
    }

    public List<RiskDangerSource> getRiskDangerSourceList()
    {
        return riskDangerSourceList;
    }

    public void setRiskDangerSourceList(List<RiskDangerSource> riskDangerSourceList)
    {
        this.riskDangerSourceList = riskDangerSourceList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workTaskId", getWorkTaskId())
            .append("workStepName", getWorkStepName())
            .append("riskDangerSourceList", getRiskDangerSourceList())
            .toString();
    }

    public Integer getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(Integer orderBy) {
        this.orderBy = orderBy;
    }

    public Long getParentDeptId() {
        return parentDeptId;
    }

    public void setParentDeptId(Long parentDeptId) {
        this.parentDeptId = parentDeptId;
    }

    public String getWorkTaskName() {
        return workTaskName;
    }

    public void setWorkTaskName(String workTaskName) {
        this.workTaskName = workTaskName;
    }
}
